<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"/>
    <title>整理分件</title>
    <meta content="webkit" name="renderer"/>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
    <meta
            content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
            name="viewport"
    />
    <link href="../js/layui/css/layui.css" media="all" rel="stylesheet"/>
    <link href="../style/admin.css" media="all" rel="stylesheet"/>
    <link href="../style/home.css" media="all" rel="stylesheet"/>
    <script src="../js/layui/layui.js"></script>
    <style type="text/css">
        .layui-form-select dl {
            font-size: 14px
        }

    </style>
</head>
<body>
<div class="layui-card" style="height: 100%">
    <div class="layui-card-header font20">
        <div class="layui-title">整理分件</div>
        <div class="layui-layout-right" style="margin: 0 10px 0 0; font-size: 12px; ">
            <div style="float: left; margin-top:7px; width: 300px">
                <form class="layui-form" lay-filter="projectData" action="" id="projectData">
                    <select name="projectList" id="projectList" lay-filter="projectList" lay-verify="required"
                            style="color: #0C0C0C">
                        <option
                                th:each="project : ${projectsList}"
                                th:value="${project.id}" th:text="${project.name}">
                        </option>
                    </select>
                </form>
            </div>
        </div>
    </div>
    <div class="layui-card-body" style="height: calc(100% - 55px); padding-bottom: 0px">
        <div class="layui-row layui-col-space12 layui-h100">
            <div class="layui-col-xs1">
                <div class="layui-card">
                    <div class="layui-card-body" style="padding: 0; margin: 0">
                        <table id="taskTable" lay-filter="taskTable" class="layui-hide-headers  list-table"></table>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs11 layui-h100">
                <blockquote class="layui-elem-quote">
                    <form class="layui-form layui-row" action="">
                        <div class="layui-col-md2">
                            <label class="layui-form-label" style="width: 40px">档号</label>
                            <div class="layui-input-block" style=" margin-left: 70px;">
                                <input type="text" name="archiveCode" lay-verify="value"
                                       autocomplete="off"
                                       placeholder="档号检索" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-md2">
                            <div class="layui-input-block" style=" margin-left: 10px;">
                                <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm"
                                        lay-submit="" lay-filter="fileSearch">
                                    <i class="layui-icon layui-icon-search "></i>检索
                                </button>
                                <button class="layui-btn layui-btn-normal layui-btn-sm"
                                        lay-submit="" lay-action="batchFinish2">
                                    <i class="layui-icon layui-icon-ok-circle"></i>批量完成
                                </button>
                            </div>
                        </div>

                    </form>
                </blockquote>
                <table id="fileDataTable" lay-filter="fileDataTable"></table>
            </div>
        </div>
    </div>
</div>
<script id="filesOperationBar" type="text/html">
    <a lay-filter="finish2" href="#" lay-event="finish2">
        <i class="layui-icon layui-icon-ok-circle p3" title="完成分件"></i>
    </a>
</script>
<script>
    var workNum = '2';
</script>

<script type="text/javascript" src="../js/lib/common.js"></script>
<script type="text/javascript" src="../js/lib/watermark.js"></script>
<script>
    loadScript("../js/modules/workflow/arrangementFile.js");
</script>
</body>
</html>
